extends MenuButton

func _ready():
	if OS.get_name() != 'Android':
		return
	self.get_popup().set_item_disabled(0, true)

func enable_sync():
	get_popup().set_item_text(2, '同步数据')
	get_popup().set_item_disabled(2, false)

func disable_sync():
	get_popup().set_item_text(2, '同步成功')
	get_popup().set_item_disabled(2, true)
